﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Locator.Silverlight.Client.Models.ProductsServiceReference;

namespace Locator.Silverlight.Client.Models.ViewModels.Elements
{
    public class SubstanceViewModel
    {
        private readonly Substance substance;

        public SubstanceViewModel(Substance substance)
        {
            this.substance = substance;
        }

        public string Name
        {
            get { return this.substance.Name; }
        }

        public int Id
        {
            get { return this.substance.Id; }
        }
    }
}
